#include "../mqserver/mq_channel.hpp"

// int main()
// {
//     xypmq::ChannelManager::ptr cmp = std::make_shared<xypmq::ChannelManager>();

//     cmp->openChannel("c1", 
//         std::move(std::make_shared<xypmq::VirtualHost>("host1", "./data/host1/message/", "./data/host1/host1.db")),
//     std::move(std::make_shared<xypmq::ConsumerManager>()),
//     std::move(xypmq::ProtobufCodecPtr()),
//     std::move(muduo::net::TcpConnectionPtr()),
//     std::move(threadpool::ptr()));
//     return 0;
// }